package com.csxy.zqm.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;
import com.csxy.zqm.entity.EduTeacher;
import com.csxy.zqm.entity.vo.TeacherQuery;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;

//alt+回车，点击implementInterface,点击impl包
@Service
public interface EduTeacherService extends IService<EduTeacher> {
    Page<EduTeacher> pageListTeacher(long page, long limit);


    void pageQuery(Page<EduTeacher> pageParam, TeacherQuery teacherQuery);



    //前端查询前4条热门讲师
    List<EduTeacher> selectHotTeacher();

    Map<String, Object> getTeacherFrontList(Page<EduTeacher> teacherPage);
}
